home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1041 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.2 KB

  1. From: Julian Reschke <reschke@GOEDEL.UNI-MUENSTER.DE>
  2. Subject: PureC
  3. Date: Fri, 18 Feb 94 11:43:21 MET DST
  4.  
  5. Here are some diffs to get rid of some warnings:
  6.  
  7. diff -r orig/dosdir.c ./dosdir.c
  8. 740c740
  9. <     if (( r = path2cookie(name, temp1, &dir) ))
  10. ---
  11. >     if (0 != ( (r = path2cookie(name, temp1, &dir)) ))
  12. 761c761
  13. <     if (( r = (*fc.fs->getxattr)(&fc, &xattr) < 0 ))
  14. ---
  15. >     if (0 != ( r = (*fc.fs->getxattr)(&fc, &xattr) < 0 ))
  16. diff -r orig/main.c ./main.c
  17. 1378c1378
  18. <         int fd = f_open (arg1, 0);
  19. ---
  20. >         long fd = f_open (arg1, 0);
  21. 1383,1384c1383,1384
  22. <         do_file (fd);
  23. <         f_close (fd);
  24. ---
  25. >         do_file ((int) fd);
  26. >         f_close ((int) fd);
  27. diff -r orig/memprot.c ./memprot.c
  28. 390a391,392
  29. >     UNUSED(proc);
  30. 402,404c404,406
  31. <     b_index = (start >> LOG2_16_MEG);
  32. <     c_index = (start >> LOG2_ONE_MEG) & 0xf;
  33. <     d_index = (start >> LOG2_EIGHT_K) & 0x7f;
  34. ---
  35. >     b_index = (int) (start >> LOG2_16_MEG);
  36. >     c_index = (int) (start >> LOG2_ONE_MEG) & 0xf;
  37. >     d_index = (int) (start >> LOG2_EIGHT_K) & 0x7f;
  38. 1139a1142,1144
  39. > #else
  40. >     UNUSED(proc);
  41. >     UNUSED(bigone);
  42. diff -r orig/procfs.c ./procfs.c
  43. 577c577
  44. <             !(pf = p->handle[pfd]))
  45. ---
  46. >             NULL == (pf = p->handle[pfd]))
  47. diff -r orig/unifs.c ./unifs.c
  48. 693c693
  49. <     if (cmd == FS_INSTALL) { /* install a new filesystem */
  50. ---
  51. >     if (cmd == (int) FS_INSTALL) { /* install a new filesystem */
  52. 704c704
  53. <     } else if (cmd == FS_MOUNT) {  /* install a new gemdos-only device for this FS */
  54. ---
  55. >     } else if (cmd == (int) FS_MOUNT) {  /* install a new gemdos-only device for this FS */
  56. 735c735
  57. <     } else if (cmd == FS_UNMOUNT) {  /* remove a file system's directory */
  58. ---
  59. >     } else if (cmd == (int) FS_UNMOUNT) {  /* remove a file system's directory */
  60. 768c768
  61. <     } else if (cmd == FS_UNINSTALL) {    /* remove file system from kernel list */
  62. ---
  63. >     } else if (cmd == (int) FS_UNINSTALL) {    /* remove file system from kernel list */
  64. diff -r orig/xbios.c ./xbios.c
  65. 276c276
  66. <         (void)(*((volatile char *)ptr));
  67. ---
  68. >         (*((volatile char *)ptr));
  69.  
  70. -- 
  71. ---------------------------------------------------
  72. Julian F. Reschke, Hensenstr. 142, D-48161 Muenster
  73.  eMail: reschke@math.uni-muenster.de jr@ms.maus.de
  74. ___________________________________________________
  75.